public class PersonTest {
    public static void main(String[] args) {
        Person person = new Person("xiaoming",20);
        Person person1 = new Person("xiaoming",20);
        int a = 10;
        int b = 10;
        System.out.println(person == person1);
        System.out.println("================");
        System.out.println(a == b);
        System.out.println("================");
        boolean rec = person.equals(person1);
        System.out.println(rec);

    }
}
